package model

import (
	"time"
)

type AuDealerRepairLog struct {
	Id           int       `xorm:"not null pk autoincr INT(11)"`
	DealerId     int       `xorm:"not null index INT(11)"`
	Rid          int       `xorm:"not null default 0 INT(11)"`
	Manufacturer string    `xorm:"default ' ' VARCHAR(48)"`
	Price        float64   `xorm:"not null default 0.0 DOUBLE(9,1)"`
	Vin          string    `xorm:"not null index VARCHAR(48)"`
	SearchState  int       `xorm:"not null default 0 TINYINT(3)"`
	PayState     int       `xorm:"not null default 0 TINYINT(3)"`
	Createtime   time.Time `xorm:"default '0000-00-00 00:00:00' DATETIME"`
	Type         int       `xorm:"not null default 3 TINYINT(2)"`
	OrderNo      string    `xorm:"default '' VARCHAR(20)"`
	Brand        string    `xorm:"VARCHAR(30)"`
	SeriesModel  string    `xorm:"VARCHAR(50)"`
	BuildTime    time.Time `xorm:"DATETIME"`
	Brand1       string    `xorm:"not null default '' VARCHAR(30)"`
	SeriesModel1 string    `xorm:"not null default '' VARCHAR(50)"`
	BuildTime1   time.Time `xorm:"not null DATETIME"`
}
